GXGetStyleOwners
You can use theGXGetStyleOwners
function to determine the number of references to a particular style.
long GXGetStyleOwners(gxStyle source);
source
- A reference to the style to find the owner count of.
- function result
- The owner count of the source style.
DESCRIPTION
TheGXGetStyleOwners
function returns as its function result the owner count of the style specified by thesource
parameter. The owner count is the current number of references to the style object.ERRORS, WARNINGS, AND NOTICES
Errors style_is_nil SEE ALSO
Owner counts are discussed in the section "Copying, Comparing, and Cloning Style Objects" on page 3-8, and in the section "Manipulating a Style Object's Owner Count" beginning on page 3-11.To increment the owner count of a style, use the
GXCloneStyle
function, described on page 3-20. To decrement the owner count of a style, use theGXDisposeStyle
function, described on page 3-17.